(function(win, doc) {
			//浏览器缩放时
			win.onresize = function() {
				change()
			}
			change();

			function change() {
				//320   20px
				var oFs = doc.documentElement.clientWidth / (320 / 20);

				//设置根目录字体大小
				doc.documentElement.style.fontSize = oFs + 'px'
			}
		})(window, document)

		   var app= angular.module("app",['ngRoute']);
		   app.controller("ctrl",function($scope){
	   			
		   })
		   
		   app.config(function($routeProvider) {
		   	$routeProvider
		   	             .when('/aaa',{
		   	             	templateUrl:"day.html"
		   	             })
		   	             .when('/bbb',{
		   	             	templateUrl:"week.html"
		   	             })
		   	             .when('/ccc',{
		   	             	templateUrl:"month.html"
		   	             })
		   	             .otherwise({
		   	             	redirectTo:"/aaa"
		   	             })
		   })
		   
		   $(".content-ul li").click(function(){
		   	$(this).siblings().removeClass('active')
		   	$(this).addClass('active')
		   	$(this).siblings().children().css({"color":"#FFDC76"})
		   	$(this).children().css({"color":"#FFF"})
		   })
		    var a=true;
		   $('#count').click(function(){
		   	if(a){
		   		$('.blind-plate').show()
		   		$('.header-column').show()
		   	}else{
		   		$('.blind-plate').hide()
		   		$('.header-column').hide()
		   	}
		   	a=!a
		   })